<p>Rute</p>


<section class="content">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box">
                                <div class="box-header">
                                    <h3 class="box-title">Daftar pelanggan tetap</h3>
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
                                    <table id="example2" class="table table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>Kode Rute</th>
                                                <th>Dari</th>
                                                <th>Ke</th>
                                           </tr>
                                        </thead>
                                        <tbody>
                                        	{foreach from=$data item=rute}
                                        	<tr>
                                        		<td>{$rute.kode_rute}</td>
                                        		<td>{$rute.dari}</td>
                                        		<td>{$rute.ke}</td>
                                           		 <td>
                                                    <a href="rute.php?action=edit&id={$rute.kode_rute}" class="btn btn-success">Edit</a>
                                                  <a href="tambahrute.php" class="btn btn-info">Tambah</a> 
                                                 <a href="rute.php?action=delete&id={$rute.kode_rute}"class="btn btn-danger">hapus</></td>
                                                 </td>
                                           	</tr>
                                        	{/foreach}
                                        </tbody>
                                     </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->

                           
                        </div>
                    </div>

                </section>